Live tiles - source code to be refactorized