     override func viewWillDisappear(animated: Bool) {
         NSNotificationCenter.defaultCenter().removeObserver(self, name: UIKeyboardWillShowNotification, object: nil)
         NSNotificationCenter.defaultCenter().removeObserver(self, name: UIKeyboardWillHideNotification, object: nil)
+    }
+    
+    @IBAction func likeButtonPressed(sender: UIButton) {
+            if likeButton.selected == true {
+                Tapglue.deleteLike(post) { (success: Bool, error: NSError!) -> Void in
+                    if error != nil {
+                        print("\nError happened:")
+                        print(error)
+                    }
+                    else {
+                        print("\nSuccessly deleted like from post:")
+                        print(success)
+                        
+                        dispatch_async(dispatch_get_main_queue(), { () -> Void in
+                            self.likeButton.selected = false
+                        })
+                    }
+                }
+            } else {
+                post.likeWithCompletionBlock { (success: Bool, error: NSError!) -> Void in
+                    if error != nil {
+                        print("\nError happened:")
+                        print(error)
+                    }
+                    else {
+                        print("\nSuccessly liked a post:")
+                        print(success)
+                        
+                        dispatch_async(dispatch_get_main_queue(), { () -> Void in
+                            self.likeButton.selected = true
+                            
+                        })
+                    }
+            }
+        }
     }
     
     

    // Show postDetails
    func fillPostDetailInformation(){
        userNameLabel.text = post.user.username
        
        // PostText
        let postAttachment = post.attachments

    @IBOutlet weak var userNameLabel: UILabel!
    @IBOutlet weak var dateLabel: UILabel!
    @IBOutlet weak var postTextLabel: UILabel!
    @IBOutlet weak var commentsCountLabel: UILabel!
    @IBOutlet weak var likesCountLabel: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
