Fixing refresh on Enter