Fixed bug with Activity tabs.

Closes #9. Closes #12.