     }
     
     @IBAction func likeButtonPressed(sender: UIButton) {
-            if likeButton.selected == true {
-                // Delete like for Post
-                appDel.rxTapglue.deleteLike(forPostId: post.id!).subscribe({ (event) in
-                    switch event {
-                    case .Next(let element):
-                        print(element)
-                    case .Error(let error):
-                        self.appDel.printOutErrorMessageAndCode(error as? TapglueError)
-                    case .Completed:
-                        print("Do tha action")
-                        dispatch_async(dispatch_get_main_queue(), { () -> Void in
-                            self.likeButton.selected = false
-                            self.updateLikeCountLabel()
-                        })
-                    }
-                }).addDisposableTo(self.appDel.disposeBag)
-
-            } else {
-                // Create like for Post
-                appDel.rxTapglue.createLike(forPostId: post.id!).subscribe({ (event) in
-                    switch event {
-                    case .Next(let element):
-                        print(element)
-                    case .Error(let error):
-                        self.appDel.printOutErrorMessageAndCode(error as? TapglueError)
-                    case .Completed:
-                        print("Do tha action")
-                        
-                        dispatch_async(dispatch_get_main_queue(), { () -> Void in
-                            self.likeButton.selected = true
-                            self.updateLikeCountLabel()
-                        })
-                    }
-                }).addDisposableTo(self.appDel.disposeBag)
-            }
+        if likeButton.selected == true {
+            // Delete like for Post
+            appDel.rxTapglue.deleteLike(forPostId: post.id!).subscribe({ (event) in
+                switch event {
+                case .Next(let element):
+                    print(element)
+                case .Error(let error):
+                    self.appDel.printOutErrorMessageAndCode(error as? TapglueError)
+                case .Completed:
+                    print("Do tha action")
+                    dispatch_async(dispatch_get_main_queue(), { () -> Void in
+                        self.likeButton.selected = false
+                        self.updateLikeCountLabel()
+                    })
+                }
+            }).addDisposableTo(self.appDel.disposeBag)
+            
+        } else {
+            // Create like for Post
+            appDel.rxTapglue.createLike(forPostId: post.id!).subscribe({ (event) in
+                switch event {
+                case .Next(let element):
+                    print(element)
+                case .Error(let error):
+                    self.appDel.printOutErrorMessageAndCode(error as? TapglueError)
+                case .Completed:
+                    print("Do tha action")
+                    
+                    dispatch_async(dispatch_get_main_queue(), { () -> Void in
+                        self.likeButton.selected = true
+                        self.updateLikeCountLabel()
+                    })
+                }
+            }).addDisposableTo(self.appDel.disposeBag)
+        }
     }
     
     @IBAction func shareButtonPressed(sender: UIButton) {

        let animationDuration = userInfo[UIKeyboardAnimationDurationUserInfoKey] as! Double
        
        UIView.animateWithDuration(animationDuration,
            delay: 0,
            options: animationOptions,
            animations: {
                self.commentContainerBottonConstraint.constant = keyboardFrame.size.height
                self.view.layoutIfNeeded()
            },
            completion: { completed in
        })
    }
    

    }
    
    func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPath) -> [UITableViewRowAction]? {
        let edit = UITableViewRowAction(style: .Normal, title: "Edit") { action, index in
            print("favorite button tapped")
            
            self.beginEditComment = true
            
            self.commentTextField.becomeFirstResponder()
            
            let commentText: String = self.postComments[indexPath.row].contents!["en"]!
            self.commentTextField.text = commentText
            
            self.editComment = self.postComments[indexPath.row]
        }
        edit.backgroundColor = UIColor.lightGrayColor()
        
        let delete = UITableViewRowAction(style: .Destructive, title: "Delete") { action, index in
            // Delete comment for Post
            self.appDel.rxTapglue.deleteComment(forPostId: self.post.id!, commentId: self.postComments[indexPath.row].id!).subscribeCompleted({
                self.retrieveAllCommentsForPost()
            }).addDisposableTo(self.appDel.disposeBag)
        }
        delete.backgroundColor = UIColor.redColor()
        return [delete, edit]
    }
    
    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
