Add delete application functionality