moved updating the view into a function
moved updating the view into a function

drewvolz/BonApp-Widget,mattk410/BonApp-Widget,mattk410/BonApp-Widget,StoDevX/BonApp-Widget,StoDevX/BonApp-Widget,drewvolz/BonApp-Widget