add new buttons logic