     }
 }
 
-public func ToolbarButtonItem(image: UIImage?, style: UIBarButtonItemStyle, handler:FieldBarButtonHandler) -> FieldToolbarButtonItem {
+public func ToolbarButtonItem(image: UIImage?, style: UIBarButtonItemStyle, handler:FieldBarButtonHandler?) -> FieldToolbarButtonItem {
     return {
         $0.target   = $0
         $0.handler  = handler

    }(FieldToolbarButtonItem(image: image, style: style, target: nil, action: #selector(FieldToolbarButtonItem.targetAction(_:))))
}

public func ToolbarButtonItem(image: UIImage?, landscapeImagePhone: UIImage?, style: UIBarButtonItemStyle, handler:FieldBarButtonHandler) -> FieldToolbarButtonItem {
    return {
        $0.target   = $0
        $0.handler  = handler

    }(FieldToolbarButtonItem(image: image, landscapeImagePhone: landscapeImagePhone, style: style, target: nil, action: #selector(FieldToolbarButtonItem.targetAction(_:))))
}

public func ToolbarButtonItem(title: String?, style: UIBarButtonItemStyle, handler:FieldBarButtonHandler?) -> FieldToolbarButtonItem {
    return {
        $0.target   = $0
        $0.handler  = handler
