     @IBOutlet private weak var openCameraButton: BorderButton!
 
     private lazy var nextButton: UIBarButtonItem = {
-        let button = UIBarButtonItem(title: NSLocalizedString("Next", comment: ""), style: .Plain, target: self, action: #selector(RegisterPickAvatarViewController.next(_:)))
-            button.enabled = false
+        let button = UIBarButtonItem()
+        button.title = NSLocalizedString("Next", comment: "")
+        button.enabled = false
+        button.rx_tap
+            .subscribeNext({ [weak self] in self?.uploadAvatarAndGotoPickSkills() })
+            .addDisposableTo(self.disposeBag)
         return button
     }()
 

import YepNetworking
import Proposer
import Navi

final class RegisterPickAvatarViewController: SegueViewController {
    
    @IBOutlet private weak var avatarImageView: UIImageView!
    @IBOutlet private weak var cameraPreviewView: CameraPreviewView!


    // MARK: Actions

    @objc private func openPhotoLibraryPicker() {
        
        let openCameraRoll: ProposerAction = { [weak self] in
