Added ui for simple state testing
Added alerts for testing