Manage keyboard appearance and disappearance.