Added AlertDialog theme. Added functional for switch to fragment when click on tab