Added page editing logic; fixed issue with page settings