Method, an apparatus and a computer program for controlling an output from a display of an apparatus