Refactoring: apps state
fixed context messages
simplified assert
Fixed version crutch