Switching between views still not working.