fixed app name, add permission, fixed crash on pie chart