Fix no project selection.
Update layout when rebinding.