Make the permissions widget to show the current permissions state

When opening the permissions widget it now shows the current permissions.