Added Timer functionality to periodically refresh the DB stored keys