Got buttons to link correctly and change colors

Still need to set it so it changes colors back when the opposite button
is clicked. Also have an issue where I don't think it would work
correctly unless you click the arrow itself. Could someone check that
the button does in fact work with the db?