add colors to rank buttons