Fix setBarStyle issue

Hi @simonbs , Thanks for awesome library! 

I fixed for Issue  #24 :  `_barStyle` isn't update at first.