Implemented Enter Key Recognition