Initialize onActionCapture and add button on menu