Deprecating Button API in favour of using Properties or style file