Fixed bug related with refreshing when moving files