changed sync function (to be tested)
added status change of outgoing nachrichten to syncSuccess function
and adapted nachrichtStatus2 parameter
changed checkLocalDB to eliminate redundant syncStart (and function call was with wrong parameters anyway)