Action handler block for handling previous, next, and done actions from accessory view.