moved button click handlers to respective controllers