Android DateSlider with Calendar View

I implemented Month/Year selection by DateSlider for Calendar View.

Now on click the button with the name of selected month, there will appear a dateslider dialogue. Select month and year and calendar will be show selected month.

edit the following code:
find the line currentMonth.setText(dateFormatter.format(dateTemplate, _calendar.getTime()));

in public void onClick(View v) function add the following code:

and the following functions: