background field colorpicker fixed

Color picker Fixed, it was not working due to Script and Stylesheet not load.
Fixed by adding lines 352 to 364: call script inside condition because user have control to show hide background color.