Fixed current_action code

Now actually highlights the current action instead of the last one