Bug 1021767 - Remove switch_to_displayed_app from _set_pref/_get_pref for consistency. r=dhunt