public ArrayList<String> filterCovers(){
	
		/* Sorts alphabetical or rating */
		if(getSelectedSort().equals("Alphabetical")){
			allMovies = bubblesrt(allMovies, "alpha");
		}
		else{
			allMovies = bubblesrt(allMovies, "release");
		}
		
		/* Filters rating and genre */
		ArrayList<String> covers = new ArrayList<String>();
		for(Movie movie :  allMovies){
			if(getSelectedRating().equals("All Ratings")){
				if(movie.getGenres().contains(selectedGenre)
						|| selectedGenre == "All"){
				covers.add(movie.getImagePath());
				}
			}
			else{
				if(movie.getRate().equals(getSelectedRating())
						&& (selectedGenre == "All" ||
								movie.getGenres().contains(selectedGenre))){
					covers.add(movie.getImagePath());
				}
			}
		}
		return covers;	
	}