added clicklisteners for tabs, which replace fragments now