MainActivity: Show ProgressDialog when connecting / disconnecting