Added change listener to focused property of blockSizeTextField to
ensure that the value is saved even if the user does not press enter