Add c button event in dashboard sample