Fixed colors/states not changing on subsequent database connection attempts in installer (Fix #3453)