     }
 
     override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
-        if (segue.identifier == "showDetails") {
+        if (segue.identifier == self.segueId) {
             guard let detailsVC = segue.destination as? JobDetailsVC else {
                 print("Not possible to convert the segue")
                 return

    @IBOutlet weak var segmentControl: CSSegmentControl!
    var jobsSource = [JobOpportunity]()
    var jobSelected: JobOpportunity!

    override func viewDidLoad() {
        super.viewDidLoad()

extension PostListVC: UITableViewDelegate {
    func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        self.jobSelected = self.jobsSource[indexPath.row]
        self.performSegue(withIdentifier: self.segueId, sender: self)
    }

    func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction]? {
