added optionscreen and fixed issue in screen managing