- added functionality to switch between settings and the counter