fixed incorrect session detection for main activity
root folder edge case for copy/move operation