Refactored Gameoverpopup as DialogFragment