Changing bar color to blue and removing trailing whitespaces