Add TimerTask to close the CaptureActivity after a specified time