Added keyboard key held checking