fixed some bugs with appfigures. it works now as expected.
bugfix: updating the app stats on cron