Bug with button pressed delegate not added