Fix SEGFAULT occurring when marking an account as preferred
Segmentation fault occurred when the user added or edited an account with "Preferred Account" checkbox checked.
This commit solves the issue so that the user can add/remove preferred accounts from Favorites without encountering SEGFAULT.
BUG: 421900
Signed-off-by: Robert Szczesiak dev.rszczesiak@gmail.com
Edited by Robert Szczesiak