Refactor button classes to allow for localization
Localization for preditor code