Fix enable state for edit color bar.

Fix enable state for edit color bar. We need it to be disabled when no
scalar bar is shown and/or created yet.

Change-Id: Iefc28a714642b219945f82ade364fdc75fce3ccd