Rename state variables to meet Joomla state names