Added options to disable proximity detection in general and in landscape
mode only