Fixes adding, editing and deleting of trivia items