Dunno know, as I said I solved with wipe data and reinstalled roms (Stefano idea :) ) but I'm thinkin that some apps has specific settings, and miui when goes in deep sleep kills them to save battery, since considered "battery expensive" and you can't do nothing about it...
Take eg battery...