fix crash when sending might have been tried while in background
setup logging to file; add a possibility to send log files in the DEBUG build from the settings view
fix duplicated pending event sending on application start; save notes to diary channel and folder notes as note:txt
save pictures to diary channel and folder notes as picture:attached