Now it is working here, I connect the buttons action to the calendar using:
currentDate.setFullYear(aNewYear, aNewMonth, aNewDay);
calendar.selectedDate = new Date(aNewYear, aNewMonth, aNewDay);
calendar.update();
Now I have a calendar and a custom navigation bar
thanks for all!