I can’t fill just the selected layer using the bucket tool.

You can alter the bucket tool reference settings by tapping the Bucket Tool icon and changing them to suit your needs. Turn off “View All Layers” to ensure that the bucket tool only references the currently selected layer.