C# OnPointerUp (releasing a button) doesn't work...why?

Hi guys, so I have this code here that changes the value of a boolean based on whether a UI button is pressed or not. My main problem is that releasing the button doesn’t work. OnPointerUp doesn’t work. Why?

using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;

public class Continuous : MonoBehaviour, IPointerDownHandler {
    static public bool Running;
    public void OnPointerDown(PointerEventData eventData)
    {
        Running = true;
        Debug.Log ("Running was set to true");
    }
    public void OnPointerUp(PointerEventData eventData)
    {
        Running = false;
        Debug.Log ("Running was set to false");
    }

}

you also have to implement IPointerUpHandler to get it working.

Nevermind, I figured it out, I just needed IPointerUpHandler