Fixed a minor logic error in revert to default color button.