fix permanent checkbox on app edit page