Fixed bug where delegate wasnt set in example project