Refactor code to DRY save and favorite movies, and make other minor simplifications.