Fix cards to keep state

Signed-off-by: Kirill Enykeev <enykeev@gmail.com>
Add time logger

Signed-off-by: Kirill Enykeev <enykeev@gmail.com>