Refactoring localStorage functionality manipulateMovieData