Fixes a silly thing where the UI wasn't refreshed instantly upon connect.