Correct tab behavior in preferences