Added basic support for using CaptureActivity from other activities