Allowed enter key to execute desired functions