Revise coding style and indents
Add toast function and fix dpi problem on smart phone