Fixed #8: actionBar could be null