Implemented Build Function in Onclick Menu