simplify CaptureActivity to be readable
close #8