Some fixes

 * Improve sort
 * Change name when application is installed
 * Improve syntax
 * Fix duplication of device folder : 
        * application recreate it because the first isn't already synchronized.
 * Continue photo synchronization if event 'batterystatus' doesn't work