Fixed formatting flow issue with lock button.