Added the possibility to control update frequency via settings instead
of having it hard coded.