Change the card buttons into array elements

Improve the extendability of SubmitPane.java by changing the buttons into array elements.

Reported-by: lhnguyenduc
Signed-off by: Long Nguyen Duc <lhnguyenduc@wpi.edu>