Creating command for deleting application