Get update period from preferences
  (from #38 opened on 25 Aug by @fabcira)