optimized some code + adding live tile but memory usage is too hight idk what to do