Revert "Added if statements for the tabs"

This reverts commit f1b516ec7b21b42d3dfc95e020038c5f53ffde74.