getting the current app with working keyboard