Bug Fix for 'disable on rotation' bug

This fixes the 'bug', where when a device is rotated, with the context menu opened, the 'view form' button is disabled. Now the device rotates without disabling the 'view form' button.