Don't select an already selected tab - fix #5