added keyboard open/close event
* prevent updating location if keyboard is open...otherwise it will
  close immediately