TQ Pippin for the advice.
I solved my permalink issue by:
Changed
-Remove custom permalink action:
1082: //add_action( 'init', 'gllr_custom_permalinks' );...
-Add custom permalink: on plugin activation
28: function gllr_plugin_install(){....
44: gllr_custom_permalinks();
45: ..}
Cheers!