fix remebering last used tab for theme usage