Ideally we would have another class on each of the buttons that is independent of the particular icon we are using, to make this code more robust and readable.