#162 More abstract way to determine activity clicked, obey option to hide chat tab