make a toast when switching tabs