correct syntax error in getSelectionButtonHtml method