UI Changes colour based on a logic