This code does not work. However if I replace "user click on object" with "upon pressing 1" for example, it does. Specifically, scoping the first event with "User click on" makes me unable to execute the "Set view logbook entry off" in the second event later, by pressing tab. I removed some of the code from the post, like keypress buffers and stuff. It is something with the user click on object condition.
* User clicks with left button on Log Entry
+ Player Generic Inventory: View logbook entry is off
Small log 1 : Make invisible
Player Generic Inventory : Set View logbook entry on
+ ID of Log Entry = 1
Full log 1 : Reappear
* Upon pressing "Tab"
+ Player Generic Inventory: View logbook entry is on
Player Generic Inventory : Set View logbook entry off
Full log 1 : Make invisible
Small log 1 : Reappear