Role Permission Fix

Fixed the problem, that the selected permissions would not be saved