Dynamic Actionbar switching and fragment view generation is done