Add style for selected color and do not call ajax if its the same color clicked