Replacing onClick with onEnter.