adjust visibility of graph and instructions and preferences