Correct program methods of work in UI