Fixed crash when change color and no view populated