fixing compiler warning

Change-Id: If80864cdd819123bd2fe811337bd63d54d1e662a
improved menu item logic

Change-Id: I3e17fdc560a3e75c89fcc656592bae143622642a
no longer setting focus on text editor when url is given

Change-Id: Icd75584be82b90653df77265fa637338d28860b4