Add toggle and lock button to planning