Adds enter-key functionality for the searchbox