Helper function for toggling list hightlighting

Selection highlight only shows up when lists are focused

Also fixes an issue where shift-tab could break app when not
focused on master list view.