Added listeners for the enter key