Add refresh layout method