Added support for enter key