Fixed and issue with wrong event code storage - binary shift to left is now donw for 5 places into left, as it should have been