Added check for no selected files when clicking sync selected file button