add preference to choose orientation sensor