getting rid of some repetitive code (forgot to add this to the last commit)
getting rid of some repetitive code (forgot to add this to the last commit)

NHellFire/f.lux-indicator-applet,xflux-gui/xflux-gui,adrian-castravete/f.lux-indicator-applet,bitzl/f.lux-indicator-applet,studio666/f.lux-indicator-applet,Kilian/f.lux-indicator-applet,esmail/f.lux-indicator-applet,TyrusChin/f.lux-indicator-applet