Customized the refiling mechanism according to the suggestions of
Brent Hansen's (http://doc.norang.ca/org-mode.html#Refiling)