Added support for deleting Activity