Bug Fixed

1. Solve the problem that cant write into file in release version
2. Graph mode currently is not working