Added press enter functionality