add buttons actions