Moved onFinish from reset parameter to getting it directly from options