Resolving empty fragment constructor error