Fixed error where color became null if none was selected.