Modifying sample app showing callback execution