refactored to using constants
fixed bug with wrong commands
Showing applications list