Remove repeated subscription and improve tab movement