Implemented option to change bar color, and to attach it to other elements