Added working back buttons and fixed the NSFileManager issues