[DF-4979] Fix destroying keyboard listener layout on devices where activity has closed on device lock (Samsung)