Changed action to boolean

If adding, use True, else use False.

This will make if-switches simpler and shorter.