MainActivity: Lock UI after proxy enabled.