Fixed NullPointer on preferences screen..