added singleton option to <Code />, fixed issue with button