Added partial functionality to the assignButton and adjusted the layout a bit.

Added partial functionality to the assignButton and adjusted the layout a bit.