Implemented API call to delete application and menu