Preparing the states of buttons

Preparing the add, modify and delete buttons to alter the content