add widget and fix problem with Permitions