When creating a text snippet, remove all extra space characters
Fixed centred button to make sure alignment is always maintained