Delete restriction when deleting app