Updating layout when enabled toggled