Implementing screen manager, but it doesn't work now.