Added functionality for switching fragments through button onclicks