Am now using just MainActivity instead of the Fragment.