Added select/unselect all buttons and implemented attributes