Removed obsolete key press code