Fixed the trivia activity and added extra files to do some background work during the activity