Converted deprecated tabactivity to fragments

As part of the UI fixes, converted the tabactivity which is deprecated
as of android 3 to fragments for future compatibility.