Fix problem in category dialog add auto sync setting ui
add webdav lock during sync for more reliable sync and finish auto sync feature