Fixed the search function and added another function that checks if user choosed a movie(still not working correct)