Fixing active and pause buttons in view form