Added the feature for the set the working directory of filemanager. Ticket #1228