Revert "added button for function"

This reverts commit 421e7adfdc98eb950082766e447751a07e9b074a.