Changing permissions for hidden apps