Improved StyleButton function.