Modules installation and store integration fixes.

Separate status for modified files. Restore method without downloading
file from server again.