Handling added for the enter key.