Allow all node types to save theme setting #5470

#5470 

#### Changes

* Remove `$node->type == page` condition from gkplus node update/insert.
* Add new condition to prevent undefined property error.