Removed blur function to add on enter function