Removed optionality of query_string in clear_text
clear_text: Fix NPE when no element has focus
clear_text: add clear_text_in to clear text in specified view