function setRoomMode(room) {
        if(room){
            SystemPrompt.select(settings.system_prompt_preset_room);
            is_room = true;
            $("#option_select_chat").css("display", "none");
        }else{
            SystemPrompt.select(settings.system_prompt_preset_chat);
            is_room = false;
            $("#option_select_chat").css("display", "block");
            $("#select_chat").css("display", "block");
        }
        // Needed since we need to update the winNotes (Notes on chat or room, switcing whether saveChat() or saveChatRoom() is used)
        // getSettings();
        if(!is_room)
            winNotes = new Notes({
                root: document.getElementById("shadow_notes_popup"),
                save: saveChat.bind(this)
            });
        else
            winNotes = new Notes({
                root: document.getElementById("shadow_notes_popup"),
                save: saveChatRoom.bind(this)
            });
    }
Function to change the context/mode from/to "room" or "character", given parameter value.
This function does not affect the character/room list, which should be handled separately.
Will update the is_room variable.
@param {*} room Switch to "room" mode if true